package com.yzy.fly.function.excel;

import com.yzy.fly.function.excel.anno.EnableExport;
import com.yzy.fly.function.excel.anno.Excel;
import com.yzy.fly.function.excel.anno.ExcelField;
import com.yzy.fly.function.excel.anno.ImportIndex;
import com.yzy.fly.function.excel.enums.ColorEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Excel(fileName = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EnableExport(fileName = "")
public class SlrEmpSalary implements Serializable {
    @ImportIndex(index = 0)
    @ExcelField(colName = "序号", width = 80)
    private int seqNumber;
    @ImportIndex(index = 1)
    @ExcelField(colName = "员工编号", width = 160, cellColor = ColorEnum.RED)
    private String employeeCode;
    @ImportIndex(index = 2)
    @ExcelField(colName = "员工姓名", width = 160)
    private String employeeName;
}
